package com.stcc.dataConfig;

import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 描述:数据中心启动
 * 项目名:stcc-gl_parent
 * 包名:com.stcc.dataConfig
 * 作者:stcc
 * 创建时间:2021/3/22 14:22
 * 版本:1.0
 */
@MapperScan("com.stcc.dataConfig.dao")
@SpringBootApplication(scanBasePackages = {"com.stcc.dataConfig.*","com.stcc.base"})
@EnableTransactionManagement
@EnableDubboConfig
public class DataConfigApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(DataConfigApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
